package cn.tedu.calendar.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CalendarQuery {
    @ApiModelProperty(value = "日历id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "日期字符数组")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date[] dates;

}
